<h1>Email Management <span class="greysubheading">Email list</span></h1> 
<div id="email-grid"></div>
<script type="text/javascript" src="<?php echo base_url();?>extjs/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ext-all.js"></script>

<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/RowEditor.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/CheckColumn.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/menu/RangeMenu.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/menu/ListMenu.js"></script>

<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/GridFilters.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/Filter.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/StringFilter.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/DateFilter.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/ListFilter.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/NumericFilter.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>extjs/ux/gridfilters/filter/BooleanFilter.js"></script>
<?php $para = "baseUrl=".base64_encode(base_url());?>
<script type="text/javascript" src="<?php echo base_url();?>extjs/myext/emaillist.js.php?<?php echo $para;?>"></script>